package cn.js.sangu.unitStore.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class PieSeriesDTO {

    private String name;
    private String type;
    private String radius;
    private List<String> center;
    private List<ValueAndNameDTO> data; //适配前端

    /**
     * {
     *       name: '次数',
     *       type: 'pie',
     *       radius: '50%',
     *       center: ['50%','60%'],
     *       data: [
     *         {value: 1048, name: '日志'},
     *         {value: 323, name: '用户'},
     *         {value: 423, name: '公告'},
     *         {value: 545, name: '工单'},
     *       ]
     *     }
     */

}
